🔄 Until
The Until action allows you to repeatedly execute a set of actions until a specified condition is met. It is a loop construct that continues iterating while the condition remains false, stopping once the condition evaluates to true.
Configuration​
- Condition: Define one or more conditions to evaluate during each iteration. Each condition includes:
- Field/Variable: Select the variable or field to evaluate.
- Type: Choose the data type or comparison operator (e.g., string, number, equals, less than).
- Value: Specify the value to compare against.
- Expression (fx): Optionally use an expression or formula for dynamic conditions.
- Add (+) or remove (trash icon) conditions as needed.
Features​
- Supports multiple conditions combined to control loop execution.
- Allows use of dynamic expressions for flexible condition evaluation.
- Continues looping until the defined condition(s) become true.
- Enables complex looping logic without fixed iteration counts.
Use Cases​
- Wait or retry actions until a resource becomes available.
- Poll external systems or APIs until a desired state is reached.
- Repeat checks for user input or system events.
- Implement conditional waiting or retry logic in Pageflows.
Notes​
- Ensure conditions are well-defined to prevent infinite loops.
- Use descriptive variable names for clarity.
- Combine with delay or timeout actions to control loop frequency.
- Use expressions for advanced conditional logic.
Tip: Use the Until action to build resilient Pageflows that can wait or retry based on real-time conditions.